import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';

@Component({
    template: `
        <ion-header>
            <ion-navbar>
              <button ion-button menuToggle>
      <ion-icon name="menu"></ion-icon>
    </button>
                <ion-title>Star</ion-title>
            </ion-navbar>
        </ion-header>
        <ion-content>Tab 2</ion-content>`
})



export class Tab2 {
     constructor(public navCtrl: NavController) {
        // Id is 2, nav refers to Tab2
        //console.log(this.nav.id)
    }
}